Assessing Inheritance for the Multiple Descendant Redefinition Problem in OO Systems
نویسندگان
چکیده
Current use of inheritance has illustrated that the introduction of conceptual inconsistencies is possible in a class hierarchy. This paper discusses the reasons why complete method redefinition infringes the essence of inheritance. A redefinition metric set is proposed and practical experiments demonstrate that the results obtained permit the detection of inheritance design problems. Appropriate design decisions are suggested.
منابع مشابه
A Redefinition Metric for Object-Oriented Systems
Although the inheritance mechanism is one of the key points for the extendibility and reusability aspects of object-oriented (OO) systems, its current use has illustrated that the introduction of conceptual inconsistencies is possible in a class hierarchy. This paper discusses the issues involved in measuring aspects of redefinition of methods in an OO model. The work is intended to raise the p...
متن کاملOutput Consensus Control of Nonlinear Non-minimum Phase Multi-agent Systems Using Output Redefinition Method
This paper concerns the problem of output consensus in nonlinear non-minimum phase systems. The main contribution of the paper is to guarantee achieving consensus in the presence of unstable zero dynamics. To achieve this goal, an output redefinition method is proposed. The new outputs of agents are functions of original outputs and internal states and defined such that the dynamics of agents a...
متن کاملSpecialization inheritance and specialization bounded polymorphism
We define a specialization inheritance mechanism for object-oriented programming, admitting covariant redefinition of both methods and instance variables in subclassing. We investigate on the semantic weakness that makes such very flexible inheritance infeasible for a statically type-checked programming language supporting polymorphic assignment and polymorphic method invocation. We show that t...
متن کاملImplementing an object-oriented error sensitive GIS
Despite considerable research interest in the handling of uncertainty within GIS, the production of what has been described as an error sensitive GIS is still some way off. The increasing use of objectoriented (OO) technology presents a variety of opportunities, but also impediments to the implementation of such an error sensitive GIS. An important barrier stems from the lack of homogeneity wit...
متن کاملEncapsulation and composition as orthogonal operators on mixins: a solution to multiple inheritance problems
In class-based multiple inheritance systems, interpretations as different as duplication, sharing and specialization are associated with the single phenomenon of name collisions. To deal with those name collisions, various mechanisms have been proposed, but these solutions generally restrain software reusability which is considered to be one of the key features of OO systems. On top of this, mo...
متن کامل